x11: Fix return value of get_device_state
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 20:20:34 +0000 (16:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 21:56:41 +0000 (17:56 -0400)
commitcf257e667608c73efb56cae498bebcde1daacc6f
treefd5416c0709951350e020a3532f6ab354a02d557
parent62ed769e74ef1b07144b6813b1b2b84e787e1c8f
x11: Fix return value of get_device_state

We need to look a the position, not the child surface.
gdk/x11/gdksurface-x11.c